package com.gblw.rjkf.pj;

import com.gblw.rjkf.pj.current.SpCloudUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * 启动类
 *
 * @author wj
 */
@SpringBootApplication()
@EnableCaching // 启用缓存
@EnableScheduling // 启动定时任务
@EnableTransactionManagement // 启动注解事务管理
//@EnableFeignClients        // 启用Feign实现RPC调用
@MapperScan("com.gblw.rjkf.pj")
public class SpStorageApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpStorageApplication.class);
        SpCloudUtil.printCurrentServiceInfo();
    }


}